const routes=[
    {
        path:"/login",
        name:"登录",
        component:import("../pages/login")
    },
    {
        path:"/home",
        name:"主页",
        component:import("../pages/home"),
        children:[
            {
                path:"logInfo",
                name:"日志",
                component:import("@/pages/log")
            },
            {
                path:"dashboard",
                name:"大屏",
                component:import("@/pages/dashboard")
            }
        ]
    }
]
export default routes;